//
//  MDataProvider.h
//  ShopStore
//
//  Created by 李超 on 2016/11/28.
//  Copyright © 2017年 dengheng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
#import "MJExtension.h"
#import "MessageDetailModel.h"
#import "EnterpriseModel.h"
#import "ActivityDetailModel.h"
#import "CommitModel.h"
@class MDataProvider;
@interface MDataProvider : NSObject
//登录接口
+(void)login:(NSMutableDictionary *)dic sucess:(void(^)(NSDictionary *dic))block faile:(void(^)(NSString *str))faile;
//修改密码
+(void)modifyPassword:(NSMutableDictionary *)dic sucess:(void(^)(NSDictionary *resultDic))block faile:(void(^)(NSString *str))faile;
//首页
+(void)homeList:(NSMutableDictionary *)dic sucess:(void(^)(NSArray *array))block faile:(void(^)(NSString *str))faile;
//带图片的信息列表加分页-政策服务
+(void)getPhotoListBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(NSArray *array))block faile:(void(^)(NSString *str))faile;
//党建栏目
+(void)getListWithBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(NSArray *array))block faile:(void(^)(NSString *str))faile;
//社工服务
+(void)socialWorkerServiceWithBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(NSArray *array))block faile:(void(^)(NSString *str))faile;
//物业服务
+(void)getPropertyListWithBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(NSArray *array))block faile:(void(^)(NSString *str))faile;
//信息详情
+(void)messageDetailBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(NSMutableDictionary *detailModel))block faile:(void(^)(NSString *str))faile;
//企业信息展示
+(void)getEnterpriseMessageBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(EnterpriseModel *detailModel))block faile:(void(^)(NSString *str))faile;
//活动列表
+(void)activityListBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(NSArray *array))block faile:(void(^)(NSString *str))faile;
//活动详情
+(void)activityDetailBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(ActivityDetailModel *model))block faile:(void(^)(NSString *str))faile;
//活动报名
+(void)activitySignupBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(NSString *resultStr))block faile:(void(^)(NSString *str))faile;
//留言建议
+(void)leaveMessageBodyDic:(CommitModel *)commitModel sucess:(void(^)(NSString *success))block faile:(void(^)(NSString *str))faile;
//保修
+(void)warrantyBodyDic:(CommitModel *)commitModel sucess:(void(^)(NSString *success))block faile:(void(^)(NSString *str))faile;
//获取社工服务列表
+(void)socialWorkerListBodyDic:(NSMutableDictionary *)dic sucess:(void(^)(NSArray *array))block faile:(void(^)(NSString *str))faile;
//获取留言列表
+(void)getMessageListBodyDic:(NSMutableDictionary *)dic typeStr:(NSInteger)type sucess:(void(^)(NSArray *array))block faile:(void(^)(NSString *str))faile;
@end
